﻿
namespace SharpTag.ID3
{
    /// <summary>
    /// Represents the different flags found in an <see cref="ITagExtendedHeader"/> object in an ID3v2 Tag.
    /// </summary>
    public enum ExtendedHeaderFlag
    {
        /// <summary>
        /// Signifies that the present tag is an update of a tag found earlier in the present file or stream.
        /// </summary>
        /// <remarks>If frames defined as unique are found in the present tag, they are to override any corresponding ones found in an earlier tag.</remarks>
        TagIsAnUpdate,
        /// <summary>
        /// Signifies that a CRC-32 data is included in the extended header.
        /// </summary>
        /// <remarks>The CRC is calculated on all the data between teh header and footer as indicated by the header's tag length field, minus the extended header.</remarks>
        CRCDataPresent,
        /// <summary>
        /// Signifies that there are restrictions to the to Tag and/or to it's encoding.
        /// </summary>
        TagRestrictions
    }
}
